FROM python:3.7

COPY requirements.txt /app/
WORKDIR /app

RUN pip install -r requirements.txt
COPY . /app

WORKDIR /app/src
ENTRYPOINT ["gunicorn", "--threads=1","--workers=1", "-b", "0.0.0.0:8002", "app", "--timeout", "120"]

EXPOSE 8002
